package com.qf.zuoye0620.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.zuoye0620.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.web.bind.annotation.Mapping;

/**
 * @Author UNIQ7xi
 * @Date 2023/6/20 19:18
 * @Version v1.8
 **/
@Mapper
public interface UserMapper extends BaseMapper<User> {
    @Select("select * from user1 where username=#{username}};")
    User findByUsername(String username);
}
